<?php
/**
 * Created by PhpStorm.
 * User: huynguyen
 * Date: 9/24/14
 * Time: 11:04 PM
 */

namespace Common\library;


class Common
{
    public static function listYear()
    {
        $year = array();
        for($i = 2014;$i >= 1905; $i--)
        {
            $year[$i] = $i;
        }
        return $year;
    }

    public static function listStatus()
    {
        return array(
            'A' => 'Hoạt động' ,
            'H' => 'Ẩn' ,
            'D' => 'Vô hiệu hóa'
        );
    }
} 